package net.maku.module.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

@Data
@TableName("ag_visitor_volume")
public class AgVisitorVolume implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "网站id")
    private Integer websiteId;

    @Schema(description = "租户")
    private Integer tenantId;

    @Schema(description = "栏目id")
    private Integer categoryId;

    @Schema(description = "栏目父级id")
    private Integer parentId;

    @Schema(description = "栏目名称")
    private String name;

    @Schema(description = "内容id")
    private Integer contentId;

    @Schema(description = "创建时间")
    private Date createTime;

}
